package com.mvc.dto;

import com.mvc.domain.Emp;
import com.mvc.domain.User;

/**
 * 数据传输层（只能提供自定义对象）
 */
public class BeanDTO {
    private Emp emp;
    private User user;

    public Emp getEmp() {
        return emp;
    }

    public void setEmp(Emp emp) {
        this.emp = emp;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
